added threadsafe to yml file