workaround to avoid conflict in case of concurrency