little fix for the imaging uploading