removing macro commands