add crcomplete func
update crcomplete func