correct run-time errors. bad spelling.