fixed XML entity naming issue