Fixed portcheck.