remove some unused broken code