Fix ratio on upload.