fixing type column issue