get rit of unused import and generic warnings