Cleanup in openPort

You may disagree with the style