added exit param to show404 helper