added logic to respawn caught ghosts