fixed bug for connected columns in solver