Global aspects of hamiltonian normal forms