Trim all the values before validation