fix warnging on return value in main()