fix graphic counter