repeat separator bug fix