fix bug of options