to fixup the bugs in sdksock.py and audiodual.py