fixed problem with scoring