catching 404 errors from bs