Added crash prevention to deity out