fix eternal cycle when no secondDelimeter