avoid parallel execution problem