Bug fix: Device Num variable was incorrectly set