correct two small errors

One typo in a class name and one variable name :)