fixed bug in _oem command handling; should be more elegant now.