change error in navbar. closing </li> without opening