fix an error that was causing errors on the error page. so meta.