Better debugging on searching for capabilities