add comment about ignoring the idx
some minor changes for readiability and style
Merge pull request #1521 from karlnapf/develop

some minor changes