fix in wait