fix initialization of g_preprocess_cp_state