made search roles work