Revert "remove read only"

This reverts commit 993e3ae7793353220dd22d62e5df8b6efe068412.