error using call_user_func

this was the problem