fixed search for extensions