fixed error in navbar