fix bug when have exisitng options