fix doc string & wait