change device command to O