Remove double percents from error page template