fixing arguments not resolving to global scope when called from method dereferencing because the target memory was set to the class scope and not to also look for prevoius scoping