Change Flushing

Signed-off-by: tianyuli <tli@wpi.edu>
Updated. Bug inside

Signed-off-by: tianyuli <tli@wpi.edu>
final one...
final failed one