improve command search