a few convenient changes

not sure if libxml_w.e or @ is better
(not sure if just ignoring the error like this is a good idea)
oh well