fixed the spelling of "diagram" word