fix upload doc formatting