remove call_user_func() in case called functions need references