changed redirect from 302 to 404