compat to luasec