fixed typos, added proper logger