fix docs for waitFor