fix drawing size and uploading