fixed function and class typos.