fix a bug with the image upload