Add some check in checkcolumn and checkline