fix TimeQueue