fixed month calculate bug