fix broken adaptor search