removes configure options not needed in the api call method