fixed 0 hour bug