fix error when just rating is entered without reviews, the program throws exception when rendering stars