sanity check configuration