fix search-form bug