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