remove stamps null directives that had been added automatically