- fixed calling graph functions