fix bug for not generating parent_col