removes a ref to deleted func fetch_data