fix upload paper bug