[graph] fixed problem with scoring