fix problem with hidden columns and colindex