bug fix

upload image bugs