Added crash protection for serpents