Fix bug on adjacent separators