revert objects by copying original values