disable read only option