Remove useless flash in controller