minor correction for empty record + correction on sample not compatible with ICS