Handled the case when a target device does not have orientation