Fixed the caluclation of percentage stars