Bugfix and using LuaDoc