fixed scd1 to scd2 issue in installations