changes to comply with Lua 5.2 module policies broke some code; fixing it