fixed cdn code