remove some method never used.