fixed bug in searchform