fix erroneous error at end of channel scan