fix a bug that was pointed out by John, ZL/KF6VO.