polish attr_freeze.
