fix eventsManager call_user_func_array call