Trimming space on license before validating