fixed getMoments;