removing a id in a close tag in sms index