fix binary bound access

fixes #354