Bugfix in error messages, bad closing tag