move WML [kill] impl to lua