fixed the navbar issues