first day of month bug