fix bugs in utility for one column data