fixed score penalty when game ends