bugfix image upload