fix direct field access