remove unused imports, format date