fixed pluckWait algorithm