fix to counter