fix a bug about column order