Erased some useless code

Erased some useless code