change: fix code format remove some unused code