fixing read only properties