fix longOpt