fix a typo in error message when attempting to modify a readonly record