fix IndexError during lexer collection
Merge pull request #16 from durka/lexer-index-error

fix IndexError during lexer collection