Fix upcase error