fix to scoring logic