fixing double Main problem.