delete useless code in main.m