remove some missed calls in main