minor code clean up
spelling