Cover bug when uploading image