Correcting image path