bugfix counter