turns undefined number of stars to 0