Fixed the month bug when on the 31st