fixed search by time