fixing port differences