prevent writing data to read only part of spec