handle error if extension not found