common: correct some typos and spelling errors