fixing the case where invisible column is unspecified (defaults to 0)