fixed consent migration issue