Fix delete port. closes #2826