add [[cms::thread_safe]] attrib to statics