cloud code to fix DC