Removing unused imports
Missing import
Fixing convert_image