bind_all: various fixes
bind_all: descprition of problem with ref capture