change 404 to 406