fixed search form bug