fix wait core typos

thanks DavidG for notifying me.