sanity check for configurations