debug flash notice and tweak UI