fixed score calculation