try to fix race condition