fix search field not working