fixed some issues in class Moment

see issues #98 und #99