missing switch to thread-safe