fixing flash path