fix bug with ':wait' after win message