fix yc tool for check port