fixing 00 time corner case