fix port choice