managing dynamic counter loss on server side