fixed some utf-8 errors and removed some unused imports