fixed search by level