bad reuse of options array