portcheck fixes