fixes sxml-1 : fixed nullpointer exception