fix ui/lua stuff