fixed month skipping issue