fix sturct's primitives argument names