Fixed a bug in AutoCC/CS/DC