fixing missing span element