when to flush Tag