Removed Spelling Errors

Removed spelling errors and occasion bugs in system.