Fixed 'no method for upcase' error