handle 0 time