bugfix on special XML characters