Fixed bug with wrong assigned variable
Removed object passed by reference to call_user_func_array