FIX: wrong case index
Merge pull request #2 from RomanYankovsky/master

FIX: wrong case index