fix time parser