fixed search by role