fix bug while pressing previous month in oct