fixed NaN in rating view