fixed PROGMEM issues, compiled for units