add closing span