[modify] remove unused code