fix for doc upload