add Delete func
modify style warning