this fixes issue #1, reduce function calls to func_get_arg(0). Resolved #1