remove doctrine in not doctrine adapter