Fixed navbar edit bug