cannot set value obtained from unexported struct field