fix to empty time parsing