fixed missing import and two typos