fix MethodVisitor hierarchy use