clean up counter