fixed simplified module for Lua 5.1