oops fix wait() api method to use controller wait