change top leaves to leaves