fix the bug in StarRatingView