fix ports <= 1024