Fix moment warning.