fix readonly
Merge pull request #34 from quarterto/feature/readonly

Readonly is broken