fixed collate.