fixed reset of image upload