fixed bugs in navbar.jsp