clear prints
fixed bug with 0 occurrences