Fixing error with respawner