check xml at startup