fix? read only bug