works better but bind_all raises some issues

Signed-off-by: Cristian Stoica <crististm@gmail.com>