rm useless code