fix port issue