fixing bindings when randomize