remove printing stack error when XML isn't well formed