fixed scd issue