fixed linkstatistics error