fixed comment typos and logger class parameter