Fixed moment fn type check
1.0.1