fixed error in time parser