fixed a typo and reorganized imports.