Fix closing scope tag