attempt to fix create environment race conditon