bug fix add port in the right list