bugfix itemcounter