fixed a port problem