[SJS-229][BUG]: Fix for "dc" not defined not breaking and returning the code