fixed navbar bug