minor indentation fix in wait'