Fix bug with func_get_args