fix bad setter usage