fixed an annoying crash in body heat calc