delete some unused code