rm some code that not necessary