patching up WRITEME