resolved navbar bug