fixed subtract dates to use moments