Solved bug in DomDecoder