add default-values for generateOptionsElement