Fixed struct in main