add reference and fix metadata