fix ./setspawn issues