bug fixed navbar