fixed bug with all-day-creation