REF: fixed loop limit