Fixing terminal close tag