find last li correctly