view refactor (flashes) fix