Fix writing into read only places