tried to find the race condition but didn't find it yet