Updated errors scope and spelling errors