make more reslient to silly race condition