fix the bug that will prompt error if com is not setup properly