fix navbar inverse setting