Fixed apply_func_arg_t, and it's better not using cast (compiler friendly)
Fixed apply_func_args_t