fixed a bug that made it print 11 hearts instead of 10