Fix error in log statement trying to print array
Spelling errors