fix navbar problems