fix navbar active bug