corrected demo flag