fix a memory leak when using options.binds