don't crash when image upload fails