sanity check for setter