modify search planner