gra/preadd setflash fix