update for empty separator bug fix