wait for deps