fixed error handling fetching sources