yet another minor bugfixes: missing close tags