added condition in list_bindings for multiple selection