fixing navbar issues