updated 404 detection #61