bugfix: config could be undefined on new graph