fixed time unit errors