remove some unused functions/files