shortlist working only for first element