fix interval search