bugfix : take extra spaces into account when parsing a start node