fixed time parsing npe