rm unnecessary code

rm unnecessary code