error in navbar