fix compile select when column is null