fixed some nav bar bugs