On a theorem of L. Moser