upload image bug fixed