concurrency problem workarround