fix navbar persist