bugfix graph selection did not work without it