put unbind commands before bind commands