removed useless code

removed useless code