fix typo, add note on thread safety