debug flash issue