Fix if condition which check BC port