reverted 6b42ba8 resetLocalAttrs -> resetAllAttrs