Fix images uploading