remove useless code and file