remove codes for other devices.