deal with null value in es