fixed a minor bug with mob respawn code.