remve useless code