fix sanity check problem.