Added acid protection in spawn.