solve same colour graph point bug