remove private properties that are not used