Fix numbering error in 16-bit collections
better error reporting