fixed wrong generation of separators