Fix counter