Graph bug fixed