fix struct reference