AM: rm unused import, conditionallz