cleaning up, fixing validation error due to libxml entity loader