fix bug for annoying read-only.