delete useless file and well format code