So this is still a problem 7 years latter, the renaming the variable referencing the struct solved it for me