Avoid "undefined" in nav