Added check input parameters for all c_extract.