revert device change