fixes in key names (changed format of em records)