changed the way to wait for l2 step 2