remove Thread macro