Upcase bugfix