improve flash partial