fix port test