Try to fix counter problem