Fixed PROGMEM logic