fix bug in parse opts