fix bug that was left over from removing the "software" switch case block.