fixes #386 - bug with non-normalised closing sections