fixed linking and spelling errors