fix adaptor import