remove thresding macros