Correct upcase problem

Signed-off-by: Gustavo Toshi Komura <gtk10@c3sl.ufpr.br>