Fixed documents uploading