remove unused variable and unused import