fix port declaration