Some exception handling, loading xml nodes