Fixed issue with doc upload