fix 404 & human error pages from leaking into api controllers