load xml before using it