prevent server from not starting in case of invalid xml

fixes #253