fix for the unclosed span tag (checkbox/radio extensions)