fix closing span tag