unused imports
fixed encoding troubles for python 2.7