repair properties in java config