Fixed some references and spelling errors