fix "null" issue in last column