reset attr for old style