reset before import