Fix the fontend main port sed.