cleaned up the output of irremote