fixing the end of the month