clean redundant variable
flash