db collate fix