fixed typos and removed unused imports