method: fix data races