Fix up waiting code