bux fix in event table: clear all and set item count before refresh