no need for initGraph anymore
bugfix