fix bugs regarding col_names param