port argument fix