Fix for #6 last character uppercase

Fixes #6