correction to time parser