fixed bug in dayuptime plugin