Add missing wait