Corrected hat plus bug with number of stars