unused imports and remove warnings