get rid of zero length text nodes