fix bugs:
1) graph is removed from the kit and it is not the last graph.
2) manage datastreams (deleting DS)