removed check and use race condition