image path bug fix