simplify separator handling.