month calculating issue fix