Fix for readonly setting