trying to fix build
removed some unused code