fixed bugs in client search form