replace ms with moment