remove unused import and var