Fixed incinsitency in passing arguments by reference to call_user_func()