remove undeclared variable accession_id