fixed last li depth bug