Remove unnecessary separator.