fix syntax error introduced with Readonly