added check to EEPROM read to ensure 4 digit code