fixes typo and changes span for images