Better handle bad configuration files