Try to make HoTT compatible with the new records