Bug in chosen number occurence