fix bug where score was eval to NaN