add cols and fix format error