Remove debugging code in main