fix binop bound access

fixes #354