fix search to use in app