fix navbar on error page