Fixed typo in main()