Carter says "I'm sorry" for endorsing terrorism