fixed error with full day check