fix sanity check failure