doc upload fix