Changed error-span from id to class