enable conditionals for 500 and 404