fixed last race condition in simple node