Update main.lua

Fixed blue screen