fix drake loop