before validation upcase