remove maxlength and size in discount