fix bug about optparser