Fixed a missing closing stuff.