getting address for primitive types to call method fixed