eliminate race condition with refresh event