#471 fix custom graph