remove adapter class