removing every thing related to graph variables

but keep events as they are