fix flash path