fix navbar injection