fix crash when image upload