use bind to specify scope

This fix addresses #27