fix argument order of sys_env