fixed waiting in ar