remove incorrect separators