small cleanup: remove unused import and some debug logging