fix time/duration handling