improved the search performance of kitCommands