moving getReference call after method name check

i moved the reference call after the method name checks, so this will filter out some more calls #52, but i dont think that we can fix all cases ...

you can merge it in the next release