reference data tidy up