revert the Get Device API