Removed some warnings

Removed unused imports and variables