Fix bug in startup.lua