fix bug: uploadImage