fix wrong ThreadSafe annotation