image path correction