Fixed RDD lineage bug

also almost deleted everything