remove old useless code