fixed - refresh port bug in the ui