fixed typo in main