remove useless port endpoint