changing up 404 check order