fixed dumb sanity check