fix deleted columns are null bug