Fixed typos, added missing log import