Fix wait condition