fixes to clear writecenter and validates