exit if misconfigured