fixing separator bug