resetCom() bug fixed