fix typo
clean up reference file
use automatic imports for references