correct typo eroor on readonly