fixed error in restart.lua