bug fixed in check on bypass whether to receive or forward