fix program option remove and add