fix possible NPE
allow to overwrite the method name prefix in configuration