Fix write only property error