config sanity check