Fixed bug in navbar