give warning of race condition