fixed the looper->waitAllDone() issue