delete some unused function