add 404 redirect support