Fixed Navbar from going to /undefined.