bugs caught by lualint