add compat module with luasec