fixed good_percentage method.