remove accidental mutation of given options object