identify license, fix internal references