fixed typos in method names and vars