wait for first element in list instead last