button to fix non-canonical port names (#827)