remove XC code