Fix dynamic static call by using call_user_func
Fix the undefined offset errors in the container aware dispatcher