remove unused lua code

this lua codes weren't used, on the other hand they break modifications that could be used with LoW otherwise.