Fix ratio on upload.
Merge pull request #9 from Qaraqter/master

Fix ratio on upload.