fix for port displaying