fixing range time