modified error message so that individual keys are recognizd as errors