fix docu about thread-safty