Minor fix to spawn state