fixed typos and removed unused import,closed #18