fix adaptor