Fixed typos in unused code