fixed issue in upload image

Change-Id: I6f35baba944de1230e5bcce97a99941653cdddd7