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