remove dead data structures in lentitylib