Fixed compile error on duplicate struct