fix name argument in struct's guard