fix the full path of the image