fix conuter bug