skip attribute with null value