Fix upload image error