fixed reference to wrong bit for wait instruction