db: fixed race.
update license headers.