fix navbar problem