Fix not to use deprecated func of foldcc