fixed search
added beforeHandler method