modify is_valid_column() judge error bug