protect against NaN in scores