fix #52: After download all items, the upload item function doesn't work