handling type column for final dump