fix variable name if option contain dash symbols