bug in readonly