fixing xml parsing of null value