fix for uploading-images