flash improvements