change all properties to read only