fix references from borrowed code