Fixing port selection in installer