fix MessageBox getMessage logs  and wait time