sanity check on ensure attribute