setspawn fixes