Fix in Struct and trow error when field not found