fixing port index floats