trim and toUppercase