protected function fixData($uri, $title)
    {
        $liAttr = [];
        if (is_int($uri)) {
            $uri = '#';
        }
        if (is_array($title)) {
            $liAttr = $title;
            $title = array_shift($liAttr);
        }
        return [$title, $uri, $liAttr];
    }