fix search order