fixed 'flashing'