fix port number issue