ran code analysis

removed unused AMD imports and fixed spelling errors