set right parameter to reflection method call