handled error causing 404